/** 设置服务相关 */
import request from '@/utils/request'

// 热门城市
export function hotCityList(params) {
	return request({
		url: '/technicianapp/Website/getHotCity',
		method: 'get',
		params
	})
}

// 字母排序城市
export function orderCityList(params) {
	return request({
		url: '/technicianapp/Website/getCityOrderFirst',
		method: 'get',
		params
	})
}

// 可选服务城市
export function cityList(params) {
	return request({
		url: '/technicianapp/Technician/getWebsiteList',
		method: 'get',
		params
	})
}

// 设置服务城市
export function setCity(data) {
	return request({
		url: '/technicianapp/Technician/setServiceCity',
		method: 'post',
		data
	})
}

// 服务项目列表
export function serviceList(params) {
	return request({
		url: '/technicianapp/Technician/getServiceList',
		method: 'get',
		params
	})
}

// 服务项目价格列表
export function priceList(params) {
	return request({
		url: '/technicianapp/Technician/getServicePriceValues',
		method: 'get',
		params
	})
}

// 服务项目场景列表
export function sceneList(params) {
	return request({
		url: '/technicianapp/Assist/getServiceSceneList',
		method: 'get',
		params
	})
}

// 服务项目详情
export function serviceDetail(params) {
	return request({
		url: '/technicianapp/Technician/getApplyServiceDetail',
		method: 'get',
		params
	})
}

// 服务项目申请
export function serviceApply(data) {
	return request({
		url: '/technicianapp/Technician/applyService',
		method: 'post',
		data
	})
}